package com.own.component.elastic.property;

import lombok.Data;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * ElasticProperty
 *
 * @author chenxueli
 * @date 2023-08-15 09:29:00
 */
@Data
@SpringBootConfiguration
@ConfigurationProperties(prefix = "spring.elasticsearch")
public class ElasticProperty {

    /**
     * 是否开启ik
     */
    private Boolean enableIk = false;

    /**
     * 是否开始ssl
     */
    private Boolean sslEnabled = false;

    /**
     * ssl crt路径
     */
    private String sslCrtPath;

    /**
     * ssk keystore密码
     */
    private String sslKeyStorePassword;

}
